package com.itheima.date8;

import java.util.Date;

public class Jdk8date {

    public static void main(String[] args) {

        Date date = new Date();
        System.out.println(date);
        date.setTime(date.getTime()+1000*60*60*24);
        System.out.println(date);
    }
}
